package com.sxfq.loansupermarket.backsystem.modular.remoteSynergy.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.sxfq.loansupermarket.backsystem.modular.remoteSynergy.entity.TongJiInfo;
import com.sxfq.loansupermarket.backsystem.modular.remoteSynergy.entity.CaseSelectionManagementInfo;
import com.sxfq.loansupermarket.backsystem.modular.remoteSynergy.entity.SearchCaseSelectionManagementInfo;

import java.util.List;

/**
 *
 * @author py
 * @Date 2018年4月19日23:15:54
 */
public interface ICaseSelectionManagementService {
    List<CaseSelectionManagementInfo> selectPageListByQueryGetMap(Page<CaseSelectionManagementInfo> page, SearchCaseSelectionManagementInfo searchInfo);

    int getQueryPagesCount(Page<CaseSelectionManagementInfo> page, SearchCaseSelectionManagementInfo searchInfo);

    List<TongJiInfo> caseSelectionManagementTotal(SearchCaseSelectionManagementInfo searchInfo);

    List<String> getAllCasesIds();

    List<String> getAllExpertIds();

    void insertExpertAndCase(String expertId,String []ids);

    void updateCasesForDistribution(String []ids);

    String isVoteToday(String openid,String caseid);

    void insertCaseWechatVote(String openid,String caseid);

    void updateCaseVote(String caseid);
}